Problem Note 45939: The error "BY variables are not properly sorted on data set LIBREF.TARGETTABLE" occurs in an SCD Type 2 Loader transformation
In SAS® Data Integration Studio 4.21, the following error might occur when the collating sequences between SAS® and the target DMBS server are different:
ERROR: BY variables are not properly sorted on data set LIBREF.TARGETTABLE.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Applying the hot fix adds the ability to sort target table records in SAS before you create the temporary cross-reference table.
In order to fully apply the hot fix, you also have to set the SORTPGM option to either SAS or HOST. The SAS or HOST sort will assure that the correct collating sequence is used.
Operating System and Release Information
SAS System | SAS Data Integration Studio | Windows Vista for x64 | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows Vista | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Ultimate x64 | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2003 Standard Edition | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2003 Enterprise Edition | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2003 Datacenter Edition | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Ultimate 32 bit | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Professional x64 | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Professional 32 bit | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Home Premium x64 | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Home Premium 32 bit | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Enterprise x64 | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Windows 7 Enterprise 32 bit | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows XP Professional | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2008 for x64 | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2008 | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft Windows Server 2003 for x64 | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
Microsoft® Windows® for x64 | 4.21 | 4.4 | 9.2 TS2M3 | 9.3 TS1M1 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2012-08-01 14:19:51 |
Date Created: | 2012-03-07 09:06:45 |